package com.geektime.hello.base.xml;

public class CDPlayer {

    private String name;
    private CompactDisc cd;

    public CDPlayer(String name, CompactDisc cd) {
        this.name = name;
        this.cd = cd;
    }

    public void play() {
        cd.play();
    }
}
